package com.lehoon.tomato.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wang
 * @since 2020-09-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Configure extends Model<Configure> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 网络标题
     */
    private String title;

    /**
     * 关键词
     */
    private String keyword;

    /**
     * 描述
     */
    private String bewrite;

    /**
     * 客服电话
     */
    private String tell;

    /**
     * IPC备案
     */
    private String record;

    /**
     * 地址
     */
    private String address;

    private String logo;

    private Integer provinceId;

    private Integer cityId;

    private Integer areaId;

    private Integer updateTime;

    /**
     * 供应商最小提现金额
     */
    private BigDecimal supplierWithdrawMin;

    private Boolean proState;

    /**
     * 推广销售基础金额
     */
    private BigDecimal proBaseMoney;

    /**
     * 店长推荐提成百分比
     */
    private BigDecimal proStoreRatio;

    /**
     * 校园大使推荐提成百分比
     */
    private BigDecimal proAgentRatio;

    /**
     * 区域经理推荐提成百分比
     */
    private BigDecimal proManagerRatio;

    /**
     * 开店通知推送：1）推送，0）不推
     */
    private Boolean storeOpenPush;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
